// Things that can go in the factory function $()

// Tag Names
$("h1"); // select all h1 elements

// Id's
$("#jabberwocky"); // select all elements with id "jabberwocky"

// Class
$(".poem-title") // select all elements with class "poem-title"

// XPath Selectors
$("h3[@class]") // select all h3 tags with a title attribute

$("div[h3]") // select all div elements that contain an h3 element

$("div[@class^='poem']") // select all div elements that have a class attribute with a value beginning with "poem"

$("div[@class$='stanza']") // select all div elements that have a class attribute with a value ending in "stanza"

$("h3[@class*='ti']") // select all h3 elements that have a class attribute with the substring "-ti"

// Custom Selectors
$("div.poem:eq(1)") // select the second div element with a class="poem"

$("div.poem-stanza div:odd") // select the odd divs that are children of a div with class="poem-stanza"

$("div.poem-stanza div:gt(0)") // select the odd divs that are index > 0 children of a div with class="poem-stanza"

$("p:contains('Alice')") // select p elements that contain "Alice"

// CSS Selectors
$("div:nth-child(1)") // select any div that is the first child of its parent
